/**
 * 文件名：WidgetVersion.java
 *
 * 版本信息：v1.0
 * 日期：2013-6-19
 * Copyright  Corporation 2013 
 * 版权所有
 *
 */

package com.foreveross.bsl.mam.model.model.domain;

import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.foreveross.bsl.mongodb.domain.Entity;

/**
 * 此类描述的是：模块版本实体类
 * 
 * @author: panhm@foreveross.com
 * @version: 2013-6-19 下午4:36:38
 */
@Document
public class WidgetVersion extends Entity {

	/**
	 * serialVersionUID:TODO
	 * 
	 * @since Ver 1.1
	 */

	private static final long serialVersionUID = 1L;

	/**
	 * id:TODO 主键id
	 * 
	 * @since Ver 1.1
	 */

	@Id
	private String id;

	/**
	 * created_at:TODO 创建时间
	 * 
	 * @since Ver 1.1
	 */

	@Field("created_at")
	private Date created_at;

	/**
	 * modified_at:TODO 修改时间
	 * 
	 * @since Ver 1.1
	 */

	@Field("modified_at")
	private Date modified_at;

	/**
	 * available:TODO 是否有效
	 * 
	 * @since Ver 1.1
	 */

	@Field("available")
	private int available = 1;

	/**
	 * boundle:TODO 此版本的模块包对应的附件id，即attachmentId
	 * 
	 * @since Ver 1.1
	 */
	@Field("boundle")
	private String boundle;

	/**
	 * release_not:TODO 描述
	 * 
	 * @since Ver 1.1
	 */

	@Field("release_not")
	private String release_not;

	/**
	 * version:TODO 版本号
	 * 
	 * @since Ver 1.1
	 */

	@Field("version")
	private String version;

	/**
	 * widget_id:TODO 对应模块的id
	 * 
	 * @since Ver 1.1
	 */

	@Field("widget_id")
	private String widget_id;

	/**
	 * size:TODO 模块大小
	 * 
	 * @since Ver 1.1
	 */

	@Field("size")
	private int size;

	/**
	 * dependsOn:TODO 依赖模块
	 * 
	 * @since Ver 1.1
	 */

	@Field("dependsOn")
	private String dependsOn;

	@Field("build")
	private int build;

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.foreveross.common.domain.Entity#getEntityRepositoryClass()
	 */

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getCreated_at() {
		return created_at;
	}

	public void setCreated_at(Date created_at) {
		this.created_at = created_at;
	}

	public Date getModified_at() {
		return modified_at;
	}

	public void setModified_at(Date modified_at) {
		this.modified_at = modified_at;
	}

	public int getAvailable() {
		return available;
	}

	public void setAvailable(int available) {
		this.available = available;
	}

	public String getBoundle() {
		return boundle;
	}

	public void setBoundle(String boundle) {
		this.boundle = boundle;
	}

	public String getRelease_not() {
		return release_not;
	}

	public void setRelease_not(String release_not) {
		this.release_not = release_not;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getWidget_id() {
		return widget_id;
	}

	public void setWidget_id(String widget_id) {
		this.widget_id = widget_id;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public String getDependsOn() {
		return dependsOn;
	}

	public void setDependsOn(String dependsOn) {
		this.dependsOn = dependsOn;
	}

	public int getBuild() {
		return build;
	}

	public void setBuild(int build) {
		this.build = build;
	}

}
